﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;

namespace PSViewerTest
{
    public partial class MainWindow : Form
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            ///
            /// Load up some dummy images now
            /// 

            FileInfo f = new FileInfo("..\\..\\T82F1.jpg");
            for (int i = 0; i < 3; i++)
            {
                AllPages.Add(Image.FromFile(f.FullName));
            }

            ///
            /// Start up the second window just for kicks!
            /// 

            PSForm psfm = new PSForm();
            psfm.Show();
        }
    }
}
